#include "GlobalHeader.h"

int main()
{
    printf("当前进程的进程号是%d\n",getpid());
    //获得父进程的进程号
    printf("当前进程的父进程号是%d\n",getppid());
    //进程的进程组号
    printf("当前进程的进程组号是%d\n",__getpgid(getpid()));
    return 0;
}